package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * @author eason
 * @ClassName: FeedBack
 * @Description: 意见反馈定义表
 * @date 2015年3月23日 下午1:00:00
 */
@Entity
@Table(name = "tb_xa_feedback")
@ApiModel(value = "意见反馈定义表")
public class FeedBack extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户Id,用户Id")
    private Long userId;
    @ApiModelProperty(value = "反馈内容,反馈内容；不能少于5个字符；最多250个字符；")
    private String content;
    @ApiModelProperty(value = "反馈图片,反馈图片，最多4张，用英文逗号分割")
    private String url;
    @ApiModelProperty(value = "用户名称")
    private String userName;
   

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Column(nullable = true, length = 50)
    public Long getUserId() {
        return userId;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Column(nullable = true, length = 250)
    public String getContent() {
        return content;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Column(nullable = true, length = 2000)
    public String getUrl() {
        return url;
    }

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}
